
import React, { memo } from 'react'

function Son({count,changecount}) {
    console.log("Son");
  return (
    <>
    <div>Son</div>
    <p>props.count:{count}</p>
    <input type="button" value="修改count" onClick={()=>changecount(2)} />
    </>
  )
}

export default memo(Son);